<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <div id="app">
        <!--textContent-->
        <span v-text="msg"></span>
        <!--innerHtml-->
        <span v-html="msg"></span>
    </div>
</body>
<script src="./js/vue.js"></script>
<script>
    var test = "test";

    var vm = new Vue({
        el:"#app",
        data:{
            msg:"<i>test</i>"
        }
    })
</script>
</html>